package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.entity.Book;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface BookMapper extends BaseMapper<Book> {

    List<Book> getRecommendBook(@PathVariable("user_id") Integer user_id);

    List<Book> getRecommend(@PathVariable("user_id") Integer user_id);
}
